Skip playground projects in build-packages workflow#12547
Merged
Conversation
Co-authored-by: davidfowl <95136+davidfowl@users.noreply.github.com>
danegsta
approved these changes
Oct 31, 2025
Copilot
AI
changed the title
[WIP] Update build workflow to skip packing playground projects
Skip playground projects in build-packages workflow
Oct 31, 2025
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 12547Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 12547" |
Contributor
There was a problem hiding this comment.
Pull Request Overview
This PR optimizes the package build workflow by skipping playground projects during the package build process. Since playground projects are not needed for package generation, excluding them reduces build time and resource usage.
Key Changes
- Added
-p:SkipPlaygroundProjects=trueflag to the build command in the package build workflow
Member
|
/backport to release/13.0 |
Contributor
|
Started backporting to release/13.0: https://github.com/dotnet/aspire/actions/runs/18963542719 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
SkipPlaygroundProjectsparameter was added in eng/Build.props and is used in localhive.sh, but wasn't applied to the build-packages workflow. This causes unnecessary builds of playground projects during package creation.Changes
-p:SkipPlaygroundProjects=trueto the build command in.github/workflows/build-packages.ymlThis aligns with the existing
-p:SkipTestProjects=trueusage and prevents playground projects (which are for development/testing only) from being built during package builds.Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.